<?php
use Common\Common\REST;
/**
 * 监听消息提示插件1
 * @param unknown $hook
 * @param unknown $params
 */
function hook($hook,$params=array()){
    \Think\Hook::listen($hook,$params);
}
//打印
function p($res)
{
    echo "<pre>";
    var_dump($res);
    echo "</pre>";
    die;
}
